package com.ruoyi.airspaceFlight.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.airspaceFlight.domain.TAirspaceSettings;
import com.ruoyi.airspaceFlight.dto.req.AirspaceSetReqDto;
import com.ruoyi.airspaceFlight.dto.req.StatusDto;
import com.ruoyi.airspaceFlight.dto.req.TAirspaceSettingsDto;
import com.ruoyi.airspaceFlight.dto.resp.AirspaceRespOneDto;
import com.ruoyi.airspaceFlight.dto.resp.AirspaceSetRespDto;
import com.ruoyi.common.core.web.domain.AjaxResult;

import java.util.List;

/**
* @author SUNLIANG
* @description 针对表【t_airspace_settings(空域设置信息表)】的数据库操作Service
* @createDate 2023-11-02 10:52:23
*/
public interface TAirspaceSettingsService extends IService<TAirspaceSettings> {

    List<AirspaceRespOneDto> getAirspace(List<String> airTypeIds);

    List<AirspaceSetRespDto> selectTAirspaceSettingsList(AirspaceSetReqDto airspaceSetReqDto);

    AirspaceRespOneDto selectTAirspaceSettingsByAirspaceId(String airspaceId);

    AjaxResult insertTAirspaceSettings(TAirspaceSettingsDto tAirspaceSettingsDto);

    AjaxResult updateTAirspaceSettings(TAirspaceSettingsDto tAirspaceSettingsDto);

    int onOffTAirspaceSettings(StatusDto statusDto);

    int deleteTAirspaceSettingsByAirspaceId(String airspaceId);
}
